home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 8 / CD Funhouse Version 8.0 - Wayzata Technology (7013) (1993).iso / pc / mac / __the_ar / broadsid.0 / background_2759.xml < prev    next >
Extensible Markup Language  |  1991-12-22  |  42KB  |  1,008 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2759</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_3752.pbm</bitmap>
  7.     <cantDelete> <true /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3104.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>button</type>
  14.         <visible> <true /> </visible>
  15.         <reserved5> 0 </reserved5>
  16.         <reserved4> 0 </reserved4>
  17.         <reserved3> 0 </reserved3>
  18.         <reserved2> 0 </reserved2>
  19.         <reserved1> 0 </reserved1>
  20.         <enabled> <true /> </enabled>
  21.         <rect>
  22.             <left>105</left>
  23.             <top>70</top>
  24.             <right>136</right>
  25.             <bottom>110</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <showName> <true /> </showName>
  29.         <highlight> <false /> </highlight>
  30.         <autoHighlight> <false /> </autoHighlight>
  31.         <sharedHighlight> <true /> </sharedHighlight>
  32.         <family>0</family>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>3001</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>Chicago</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <name>Blue</name>
  40.         <script></script>
  41.     </part>
  42.     <part>
  43.         <id>2</id>
  44.         <type>button</type>
  45.         <visible> <true /> </visible>
  46.         <reserved5> 0 </reserved5>
  47.         <reserved4> 0 </reserved4>
  48.         <reserved3> 0 </reserved3>
  49.         <reserved2> 0 </reserved2>
  50.         <reserved1> 0 </reserved1>
  51.         <enabled> <true /> </enabled>
  52.         <rect>
  53.             <left>195</left>
  54.             <top>70</top>
  55.             <right>226</right>
  56.             <bottom>110</bottom>
  57.         </rect>
  58.         <style>transparent</style>
  59.         <showName> <true /> </showName>
  60.         <highlight> <false /> </highlight>
  61.         <autoHighlight> <false /> </autoHighlight>
  62.         <sharedHighlight> <true /> </sharedHighlight>
  63.         <family>0</family>
  64.         <titleWidth>0</titleWidth>
  65.         <icon>1001</icon>
  66.         <textAlign>center</textAlign>
  67.         <font>Chicago</font>
  68.         <textSize>12</textSize>
  69.         <textStyle>plain</textStyle>
  70.         <name>Blue</name>
  71.         <script></script>
  72.     </part>
  73.     <part>
  74.         <id>3</id>
  75.         <type>button</type>
  76.         <visible> <false /> </visible>
  77.         <reserved5> 0 </reserved5>
  78.         <reserved4> 0 </reserved4>
  79.         <reserved3> 0 </reserved3>
  80.         <reserved2> 0 </reserved2>
  81.         <reserved1> 0 </reserved1>
  82.         <enabled> <true /> </enabled>
  83.         <rect>
  84.             <left>65521</left>
  85.             <top>65516</top>
  86.             <right>16</right>
  87.             <bottom>20</bottom>
  88.         </rect>
  89.         <style>transparent</style>
  90.         <showName> <true /> </showName>
  91.         <highlight> <false /> </highlight>
  92.         <autoHighlight> <false /> </autoHighlight>
  93.         <sharedHighlight> <true /> </sharedHighlight>
  94.         <family>0</family>
  95.         <titleWidth>0</titleWidth>
  96.         <icon>5000</icon>
  97.         <textAlign>center</textAlign>
  98.         <font>Chicago</font>
  99.         <textSize>12</textSize>
  100.         <textStyle>plain</textStyle>
  101.         <name>Blue</name>
  102.         <script></script>
  103.     </part>
  104.     <part>
  105.         <id>4</id>
  106.         <type>button</type>
  107.         <visible> <false /> </visible>
  108.         <reserved5> 0 </reserved5>
  109.         <reserved4> 0 </reserved4>
  110.         <reserved3> 0 </reserved3>
  111.         <reserved2> 0 </reserved2>
  112.         <reserved1> 0 </reserved1>
  113.         <enabled> <true /> </enabled>
  114.         <rect>
  115.             <left>65521</left>
  116.             <top>65516</top>
  117.             <right>16</right>
  118.             <bottom>20</bottom>
  119.         </rect>
  120.         <style>transparent</style>
  121.         <showName> <true /> </showName>
  122.         <highlight> <false /> </highlight>
  123.         <autoHighlight> <false /> </autoHighlight>
  124.         <sharedHighlight> <true /> </sharedHighlight>
  125.         <family>0</family>
  126.         <titleWidth>0</titleWidth>
  127.         <icon>5000</icon>
  128.         <textAlign>center</textAlign>
  129.         <font>Chicago</font>
  130.         <textSize>12</textSize>
  131.         <textStyle>plain</textStyle>
  132.         <name>Blue</name>
  133.         <script></script>
  134.     </part>
  135.     <part>
  136.         <id>5</id>
  137.         <type>button</type>
  138.         <visible> <false /> </visible>
  139.         <reserved5> 0 </reserved5>
  140.         <reserved4> 0 </reserved4>
  141.         <reserved3> 0 </reserved3>
  142.         <reserved2> 0 </reserved2>
  143.         <reserved1> 0 </reserved1>
  144.         <enabled> <true /> </enabled>
  145.         <rect>
  146.             <left>65521</left>
  147.             <top>65516</top>
  148.             <right>16</right>
  149.             <bottom>20</bottom>
  150.         </rect>
  151.         <style>transparent</style>
  152.         <showName> <true /> </showName>
  153.         <highlight> <false /> </highlight>
  154.         <autoHighlight> <false /> </autoHighlight>
  155.         <sharedHighlight> <true /> </sharedHighlight>
  156.         <family>0</family>
  157.         <titleWidth>0</titleWidth>
  158.         <icon>5000</icon>
  159.         <textAlign>center</textAlign>
  160.         <font>Chicago</font>
  161.         <textSize>12</textSize>
  162.         <textStyle>plain</textStyle>
  163.         <name>Blue</name>
  164.         <script></script>
  165.     </part>
  166.     <part>
  167.         <id>6</id>
  168.         <type>button</type>
  169.         <visible> <false /> </visible>
  170.         <reserved5> 0 </reserved5>
  171.         <reserved4> 0 </reserved4>
  172.         <reserved3> 0 </reserved3>
  173.         <reserved2> 0 </reserved2>
  174.         <reserved1> 0 </reserved1>
  175.         <enabled> <true /> </enabled>
  176.         <rect>
  177.             <left>65521</left>
  178.             <top>65516</top>
  179.             <right>16</right>
  180.             <bottom>20</bottom>
  181.         </rect>
  182.         <style>transparent</style>
  183.         <showName> <true /> </showName>
  184.         <highlight> <false /> </highlight>
  185.         <autoHighlight> <false /> </autoHighlight>
  186.         <sharedHighlight> <true /> </sharedHighlight>
  187.         <family>0</family>
  188.         <titleWidth>0</titleWidth>
  189.         <icon>5000</icon>
  190.         <textAlign>center</textAlign>
  191.         <font>Chicago</font>
  192.         <textSize>12</textSize>
  193.         <textStyle>plain</textStyle>
  194.         <name>Blue</name>
  195.         <script></script>
  196.     </part>
  197.     <part>
  198.         <id>7</id>
  199.         <type>button</type>
  200.         <visible> <false /> </visible>
  201.         <reserved5> 0 </reserved5>
  202.         <reserved4> 0 </reserved4>
  203.         <reserved3> 0 </reserved3>
  204.         <reserved2> 0 </reserved2>
  205.         <reserved1> 0 </reserved1>
  206.         <enabled> <true /> </enabled>
  207.         <rect>
  208.             <left>65521</left>
  209.             <top>65516</top>
  210.             <right>16</right>
  211.             <bottom>20</bottom>
  212.         </rect>
  213.         <style>transparent</style>
  214.         <showName> <true /> </showName>
  215.         <highlight> <false /> </highlight>
  216.         <autoHighlight> <false /> </autoHighlight>
  217.         <sharedHighlight> <true /> </sharedHighlight>
  218.         <family>0</family>
  219.         <titleWidth>0</titleWidth>
  220.         <icon>5000</icon>
  221.         <textAlign>center</textAlign>
  222.         <font>Chicago</font>
  223.         <textSize>12</textSize>
  224.         <textStyle>plain</textStyle>
  225.         <name>Blue</name>
  226.         <script></script>
  227.     </part>
  228.     <part>
  229.         <id>8</id>
  230.         <type>button</type>
  231.         <visible> <false /> </visible>
  232.         <reserved5> 0 </reserved5>
  233.         <reserved4> 0 </reserved4>
  234.         <reserved3> 0 </reserved3>
  235.         <reserved2> 0 </reserved2>
  236.         <reserved1> 0 </reserved1>
  237.         <enabled> <true /> </enabled>
  238.         <rect>
  239.             <left>65521</left>
  240.             <top>65516</top>
  241.             <right>16</right>
  242.             <bottom>20</bottom>
  243.         </rect>
  244.         <style>transparent</style>
  245.         <showName> <true /> </showName>
  246.         <highlight> <false /> </highlight>
  247.         <autoHighlight> <false /> </autoHighlight>
  248.         <sharedHighlight> <true /> </sharedHighlight>
  249.         <family>0</family>
  250.         <titleWidth>0</titleWidth>
  251.         <icon>5000</icon>
  252.         <textAlign>center</textAlign>
  253.         <font>Chicago</font>
  254.         <textSize>12</textSize>
  255.         <textStyle>plain</textStyle>
  256.         <name>Blue</name>
  257.         <script></script>
  258.     </part>
  259.     <part>
  260.         <id>9</id>
  261.         <type>button</type>
  262.         <visible> <false /> </visible>
  263.         <reserved5> 0 </reserved5>
  264.         <reserved4> 0 </reserved4>
  265.         <reserved3> 0 </reserved3>
  266.         <reserved2> 0 </reserved2>
  267.         <reserved1> 0 </reserved1>
  268.         <enabled> <true /> </enabled>
  269.         <rect>
  270.             <left>65521</left>
  271.             <top>65516</top>
  272.             <right>16</right>
  273.             <bottom>20</bottom>
  274.         </rect>
  275.         <style>transparent</style>
  276.         <showName> <true /> </showName>
  277.         <highlight> <false /> </highlight>
  278.         <autoHighlight> <false /> </autoHighlight>
  279.         <sharedHighlight> <true /> </sharedHighlight>
  280.         <family>0</family>
  281.         <titleWidth>0</titleWidth>
  282.         <icon>5000</icon>
  283.         <textAlign>center</textAlign>
  284.         <font>Chicago</font>
  285.         <textSize>12</textSize>
  286.         <textStyle>plain</textStyle>
  287.         <name>Blue</name>
  288.         <script></script>
  289.     </part>
  290.     <part>
  291.         <id>10</id>
  292.         <type>button</type>
  293.         <visible> <false /> </visible>
  294.         <reserved5> 0 </reserved5>
  295.         <reserved4> 0 </reserved4>
  296.         <reserved3> 0 </reserved3>
  297.         <reserved2> 0 </reserved2>
  298.         <reserved1> 0 </reserved1>
  299.         <enabled> <true /> </enabled>
  300.         <rect>
  301.             <left>65521</left>
  302.             <top>65516</top>
  303.             <right>16</right>
  304.             <bottom>20</bottom>
  305.         </rect>
  306.         <style>transparent</style>
  307.         <showName> <true /> </showName>
  308.         <highlight> <false /> </highlight>
  309.         <autoHighlight> <false /> </autoHighlight>
  310.         <sharedHighlight> <true /> </sharedHighlight>
  311.         <family>0</family>
  312.         <titleWidth>0</titleWidth>
  313.         <icon>5000</icon>
  314.         <textAlign>center</textAlign>
  315.         <font>Chicago</font>
  316.         <textSize>12</textSize>
  317.         <textStyle>plain</textStyle>
  318.         <name>Blue</name>
  319.         <script></script>
  320.     </part>
  321.     <part>
  322.         <id>11</id>
  323.         <type>button</type>
  324.         <visible> <false /> </visible>
  325.         <reserved5> 0 </reserved5>
  326.         <reserved4> 0 </reserved4>
  327.         <reserved3> 0 </reserved3>
  328.         <reserved2> 0 </reserved2>
  329.         <reserved1> 0 </reserved1>
  330.         <enabled> <true /> </enabled>
  331.         <rect>
  332.             <left>65521</left>
  333.             <top>65516</top>
  334.             <right>16</right>
  335.             <bottom>20</bottom>
  336.         </rect>
  337.         <style>transparent</style>
  338.         <showName> <true /> </showName>
  339.         <highlight> <false /> </highlight>
  340.         <autoHighlight> <false /> </autoHighlight>
  341.         <sharedHighlight> <true /> </sharedHighlight>
  342.         <family>0</family>
  343.         <titleWidth>0</titleWidth>
  344.         <icon>5000</icon>
  345.         <textAlign>center</textAlign>
  346.         <font>Chicago</font>
  347.         <textSize>12</textSize>
  348.         <textStyle>plain</textStyle>
  349.         <name>Red</name>
  350.         <script></script>
  351.     </part>
  352.     <part>
  353.         <id>12</id>
  354.         <type>button</type>
  355.         <visible> <false /> </visible>
  356.         <reserved5> 0 </reserved5>
  357.         <reserved4> 0 </reserved4>
  358.         <reserved3> 0 </reserved3>
  359.         <reserved2> 0 </reserved2>
  360.         <reserved1> 0 </reserved1>
  361.         <enabled> <true /> </enabled>
  362.         <rect>
  363.             <left>65521</left>
  364.             <top>65516</top>
  365.             <right>16</right>
  366.             <bottom>20</bottom>
  367.         </rect>
  368.         <style>transparent</style>
  369.         <showName> <true /> </showName>
  370.         <highlight> <false /> </highlight>
  371.         <autoHighlight> <false /> </autoHighlight>
  372.         <sharedHighlight> <true /> </sharedHighlight>
  373.         <family>0</family>
  374.         <titleWidth>0</titleWidth>
  375.         <icon>5000</icon>
  376.         <textAlign>center</textAlign>
  377.         <font>Chicago</font>
  378.         <textSize>12</textSize>
  379.         <textStyle>plain</textStyle>
  380.         <name>Red</name>
  381.         <script></script>
  382.     </part>
  383.     <part>
  384.         <id>13</id>
  385.         <type>button</type>
  386.         <visible> <true /> </visible>
  387.         <reserved5> 0 </reserved5>
  388.         <reserved4> 0 </reserved4>
  389.         <reserved3> 0 </reserved3>
  390.         <reserved2> 0 </reserved2>
  391.         <reserved1> 0 </reserved1>
  392.         <enabled> <true /> </enabled>
  393.         <rect>
  394.             <left>135</left>
  395.             <top>40</top>
  396.             <right>166</right>
  397.             <bottom>80</bottom>
  398.         </rect>
  399.         <style>transparent</style>
  400.         <showName> <true /> </showName>
  401.         <highlight> <false /> </highlight>
  402.         <autoHighlight> <false /> </autoHighlight>
  403.         <sharedHighlight> <true /> </sharedHighlight>
  404.         <family>0</family>
  405.         <titleWidth>0</titleWidth>
  406.         <icon>4003</icon>
  407.         <textAlign>center</textAlign>
  408.         <font>Chicago</font>
  409.         <textSize>12</textSize>
  410.         <textStyle>plain</textStyle>
  411.         <name>Red</name>
  412.         <script></script>
  413.     </part>
  414.     <part>
  415.         <id>14</id>
  416.         <type>button</type>
  417.         <visible> <false /> </visible>
  418.         <reserved5> 0 </reserved5>
  419.         <reserved4> 0 </reserved4>
  420.         <reserved3> 0 </reserved3>
  421.         <reserved2> 0 </reserved2>
  422.         <reserved1> 0 </reserved1>
  423.         <enabled> <true /> </enabled>
  424.         <rect>
  425.             <left>65521</left>
  426.             <top>65516</top>
  427.             <right>16</right>
  428.             <bottom>20</bottom>
  429.         </rect>
  430.         <style>transparent</style>
  431.         <showName> <true /> </showName>
  432.         <highlight> <false /> </highlight>
  433.         <autoHighlight> <false /> </autoHighlight>
  434.         <sharedHighlight> <true /> </sharedHighlight>
  435.         <family>0</family>
  436.         <titleWidth>0</titleWidth>
  437.         <icon>5000</icon>
  438.         <textAlign>center</textAlign>
  439.         <font>Chicago</font>
  440.         <textSize>12</textSize>
  441.         <textStyle>plain</textStyle>
  442.         <name>Red</name>
  443.         <script></script>
  444.     </part>
  445.     <part>
  446.         <id>15</id>
  447.         <type>button</type>
  448.         <visible> <false /> </visible>
  449.         <reserved5> 0 </reserved5>
  450.         <reserved4> 0 </reserved4>
  451.         <reserved3> 0 </reserved3>
  452.         <reserved2> 0 </reserved2>
  453.         <reserved1> 0 </reserved1>
  454.         <enabled> <true /> </enabled>
  455.         <rect>
  456.             <left>65521</left>
  457.             <top>65516</top>
  458.             <right>16</right>
  459.             <bottom>20</bottom>
  460.         </rect>
  461.         <style>transparent</style>
  462.         <showName> <true /> </showName>
  463.         <highlight> <false /> </highlight>
  464.         <autoHighlight> <false /> </autoHighlight>
  465.         <sharedHighlight> <true /> </sharedHighlight>
  466.         <family>0</family>
  467.         <titleWidth>0</titleWidth>
  468.         <icon>5000</icon>
  469.         <textAlign>center</textAlign>
  470.         <font>Chicago</font>
  471.         <textSize>12</textSize>
  472.         <textStyle>plain</textStyle>
  473.         <name>Red</name>
  474.         <script></script>
  475.     </part>
  476.     <part>
  477.         <id>16</id>
  478.         <type>button</type>
  479.         <visible> <true /> </visible>
  480.         <reserved5> 0 </reserved5>
  481.         <reserved4> 0 </reserved4>
  482.         <reserved3> 0 </reserved3>
  483.         <reserved2> 0 </reserved2>
  484.         <reserved1> 0 </reserved1>
  485.         <enabled> <true /> </enabled>
  486.         <rect>
  487.             <left>255</left>
  488.             <top>40</top>
  489.             <right>286</right>
  490.             <bottom>80</bottom>
  491.         </rect>
  492.         <style>transparent</style>
  493.         <showName> <true /> </showName>
  494.         <highlight> <false /> </highlight>
  495.         <autoHighlight> <false /> </autoHighlight>
  496.         <sharedHighlight> <true /> </sharedHighlight>
  497.         <family>0</family>
  498.         <titleWidth>0</titleWidth>
  499.         <icon>4003</icon>
  500.         <textAlign>center</textAlign>
  501.         <font>Chicago</font>
  502.         <textSize>12</textSize>
  503.         <textStyle>plain</textStyle>
  504.         <name>Red</name>
  505.         <script></script>
  506.     </part>
  507.     <part>
  508.         <id>17</id>
  509.         <type>button</type>
  510.         <visible> <false /> </visible>
  511.         <reserved5> 0 </reserved5>
  512.         <reserved4> 0 </reserved4>
  513.         <reserved3> 0 </reserved3>
  514.         <reserved2> 0 </reserved2>
  515.         <reserved1> 0 </reserved1>
  516.         <enabled> <true /> </enabled>
  517.         <rect>
  518.             <left>65521</left>
  519.             <top>65516</top>
  520.             <right>16</right>
  521.             <bottom>20</bottom>
  522.         </rect>
  523.         <style>transparent</style>
  524.         <showName> <true /> </showName>
  525.         <highlight> <false /> </highlight>
  526.         <autoHighlight> <false /> </autoHighlight>
  527.         <sharedHighlight> <true /> </sharedHighlight>
  528.         <family>0</family>
  529.         <titleWidth>0</titleWidth>
  530.         <icon>5000</icon>
  531.         <textAlign>center</textAlign>
  532.         <font>Chicago</font>
  533.         <textSize>12</textSize>
  534.         <textStyle>plain</textStyle>
  535.         <name>Red</name>
  536.         <script></script>
  537.     </part>
  538.     <part>
  539.         <id>18</id>
  540.         <type>button</type>
  541.         <visible> <true /> </visible>
  542.         <reserved5> 0 </reserved5>
  543.         <reserved4> 0 </reserved4>
  544.         <reserved3> 0 </reserved3>
  545.         <reserved2> 0 </reserved2>
  546.         <reserved1> 0 </reserved1>
  547.         <enabled> <true /> </enabled>
  548.         <rect>
  549.             <left>315</left>
  550.             <top>280</top>
  551.             <right>346</right>
  552.             <bottom>320</bottom>
  553.         </rect>
  554.         <style>transparent</style>
  555.         <showName> <true /> </showName>
  556.         <highlight> <false /> </highlight>
  557.         <autoHighlight> <false /> </autoHighlight>
  558.         <sharedHighlight> <true /> </sharedHighlight>
  559.         <family>0</family>
  560.         <titleWidth>0</titleWidth>
  561.         <icon>1002</icon>
  562.         <textAlign>center</textAlign>
  563.         <font>Chicago</font>
  564.         <textSize>12</textSize>
  565.         <textStyle>plain</textStyle>
  566.         <name>Red</name>
  567.         <script></script>
  568.     </part>
  569.     <part>
  570.         <id>19</id>
  571.         <type>button</type>
  572.         <visible> <false /> </visible>
  573.         <reserved5> 0 </reserved5>
  574.         <reserved4> 0 </reserved4>
  575.         <reserved3> 0 </reserved3>
  576.         <reserved2> 0 </reserved2>
  577.         <reserved1> 0 </reserved1>
  578.         <enabled> <true /> </enabled>
  579.         <rect>
  580.             <left>65521</left>
  581.             <top>65516</top>
  582.             <right>16</right>
  583.             <bottom>20</bottom>
  584.         </rect>
  585.         <style>transparent</style>
  586.         <showName> <true /> </showName>
  587.         <highlight> <false /> </highlight>
  588.         <autoHighlight> <false /> </autoHighlight>
  589.         <sharedHighlight> <true /> </sharedHighlight>
  590.         <family>0</family>
  591.         <titleWidth>0</titleWidth>
  592.         <icon>5000</icon>
  593.         <textAlign>center</textAlign>
  594.         <font>Chicago</font>
  595.         <textSize>12</textSize>
  596.         <textStyle>plain</textStyle>
  597.         <name>Red</name>
  598.         <script></script>
  599.     </part>
  600.     <part>
  601.         <id>20</id>
  602.         <type>button</type>
  603.         <visible> <true /> </visible>
  604.         <reserved5> 0 </reserved5>
  605.         <reserved4> 0 </reserved4>
  606.         <reserved3> 0 </reserved3>
  607.         <reserved2> 0 </reserved2>
  608.         <reserved1> 0 </reserved1>
  609.         <enabled> <true /> </enabled>
  610.         <rect>
  611.             <left>375</left>
  612.             <top>280</top>
  613.             <right>406</right>
  614.             <bottom>320</bottom>
  615.         </rect>
  616.         <style>transparent</style>
  617.         <showName> <true /> </showName>
  618.         <highlight> <false /> </highlight>
  619.         <autoHighlight> <false /> </autoHighlight>
  620.         <sharedHighlight> <true /> </sharedHighlight>
  621.         <family>0</family>
  622.         <titleWidth>0</titleWidth>
  623.         <icon>1002</icon>
  624.         <textAlign>center</textAlign>
  625.         <font>Chicago</font>
  626.         <textSize>12</textSize>
  627.         <textStyle>plain</textStyle>
  628.         <name>Red</name>
  629.         <script></script>
  630.     </part>
  631.     <part>
  632.         <id>23</id>
  633.         <type>button</type>
  634.         <visible> <false /> </visible>
  635.         <reserved5> 0 </reserved5>
  636.         <reserved4> 0 </reserved4>
  637.         <reserved3> 0 </reserved3>
  638.         <reserved2> 0 </reserved2>
  639.         <reserved1> 0 </reserved1>
  640.         <enabled> <true /> </enabled>
  641.         <rect>
  642.             <left>65511</left>
  643.             <top>65519</top>
  644.             <right>25</right>
  645.             <bottom>17</bottom>
  646.         </rect>
  647.         <style>transparent</style>
  648.         <showName> <false /> </showName>
  649.         <highlight> <false /> </highlight>
  650.         <autoHighlight> <false /> </autoHighlight>
  651.         <sharedHighlight> <false /> </sharedHighlight>
  652.         <family>0</family>
  653.         <titleWidth>0</titleWidth>
  654.         <icon>5000</icon>
  655.         <textAlign>center</textAlign>
  656.         <font>Chicago</font>
  657.         <textSize>12</textSize>
  658.         <textStyle>plain</textStyle>
  659.         <name>Merchant1</name>
  660.         <script></script>
  661.     </part>
  662.     <part>
  663.         <id>24</id>
  664.         <type>button</type>
  665.         <visible> <false /> </visible>
  666.         <reserved5> 0 </reserved5>
  667.         <reserved4> 0 </reserved4>
  668.         <reserved3> 0 </reserved3>
  669.         <reserved2> 0 </reserved2>
  670.         <reserved1> 0 </reserved1>
  671.         <enabled> <true /> </enabled>
  672.         <rect>
  673.             <left>65511</left>
  674.             <top>65519</top>
  675.             <right>25</right>
  676.             <bottom>17</bottom>
  677.         </rect>
  678.         <style>transparent</style>
  679.         <showName> <false /> </showName>
  680.         <highlight> <false /> </highlight>
  681.         <autoHighlight> <false /> </autoHighlight>
  682.         <sharedHighlight> <false /> </sharedHighlight>
  683.         <family>0</family>
  684.         <titleWidth>0</titleWidth>
  685.         <icon>5000</icon>
  686.         <textAlign>center</textAlign>
  687.         <font>Chicago</font>
  688.         <textSize>12</textSize>
  689.         <textStyle>plain</textStyle>
  690.         <name>Merchant2</name>
  691.         <script></script>
  692.     </part>
  693.     <part>
  694.         <id>25</id>
  695.         <type>button</type>
  696.         <visible> <false /> </visible>
  697.         <reserved5> 0 </reserved5>
  698.         <reserved4> 0 </reserved4>
  699.         <reserved3> 0 </reserved3>
  700.         <reserved2> 0 </reserved2>
  701.         <reserved1> 0 </reserved1>
  702.         <enabled> <true /> </enabled>
  703.         <rect>
  704.             <left>65511</left>
  705.             <top>65519</top>
  706.             <right>25</right>
  707.             <bottom>17</bottom>
  708.         </rect>
  709.         <style>transparent</style>
  710.         <showName> <false /> </showName>
  711.         <highlight> <false /> </highlight>
  712.         <autoHighlight> <false /> </autoHighlight>
  713.         <sharedHighlight> <false /> </sharedHighlight>
  714.         <family>0</family>
  715.         <titleWidth>0</titleWidth>
  716.         <icon>5000</icon>
  717.         <textAlign>center</textAlign>
  718.         <font>Chicago</font>
  719.         <textSize>12</textSize>
  720.         <textStyle>plain</textStyle>
  721.         <name>Merchant3</name>
  722.         <script></script>
  723.     </part>
  724.     <part>
  725.         <id>26</id>
  726.         <type>button</type>
  727.         <visible> <false /> </visible>
  728.         <reserved5> 0 </reserved5>
  729.         <reserved4> 0 </reserved4>
  730.         <reserved3> 0 </reserved3>
  731.         <reserved2> 0 </reserved2>
  732.         <reserved1> 0 </reserved1>
  733.         <enabled> <true /> </enabled>
  734.         <rect>
  735.             <left>65511</left>
  736.             <top>65519</top>
  737.             <right>25</right>
  738.             <bottom>17</bottom>
  739.         </rect>
  740.         <style>transparent</style>
  741.         <showName> <false /> </showName>
  742.         <highlight> <false /> </highlight>
  743.         <autoHighlight> <false /> </autoHighlight>
  744.         <sharedHighlight> <false /> </sharedHighlight>
  745.         <family>0</family>
  746.         <titleWidth>0</titleWidth>
  747.         <icon>5000</icon>
  748.         <textAlign>center</textAlign>
  749.         <font>Chicago</font>
  750.         <textSize>12</textSize>
  751.         <textStyle>plain</textStyle>
  752.         <name>Merchant4</name>
  753.         <script></script>
  754.     </part>
  755.     <part>
  756.         <id>28</id>
  757.         <type>button</type>
  758.         <visible> <true /> </visible>
  759.         <reserved5> 0 </reserved5>
  760.         <reserved4> 0 </reserved4>
  761.         <reserved3> 0 </reserved3>
  762.         <reserved2> 0 </reserved2>
  763.         <reserved1> 0 </reserved1>
  764.         <enabled> <true /> </enabled>
  765.         <rect>
  766.             <left>436</left>
  767.             <top>40</top>
  768.             <right>512</right>
  769.             <bottom>342</bottom>
  770.         </rect>
  771.         <style>transparent</style>
  772.         <showName> <false /> </showName>
  773.         <highlight> <false /> </highlight>
  774.         <autoHighlight> <false /> </autoHighlight>
  775.         <sharedHighlight> <true /> </sharedHighlight>
  776.         <family>0</family>
  777.         <titleWidth>0</titleWidth>
  778.         <icon>0</icon>
  779.         <textAlign>center</textAlign>
  780.         <font>Chicago</font>
  781.         <textSize>12</textSize>
  782.         <textStyle>plain</textStyle>
  783.         <name></name>
  784.         <script></script>
  785.     </part>
  786.     <part>
  787.         <id>29</id>
  788.         <type>button</type>
  789.         <visible> <true /> </visible>
  790.         <reserved5> 0 </reserved5>
  791.         <reserved4> 0 </reserved4>
  792.         <reserved3> 0 </reserved3>
  793.         <reserved2> 0 </reserved2>
  794.         <reserved1> 0 </reserved1>
  795.         <enabled> <true /> </enabled>
  796.         <rect>
  797.             <left>0</left>
  798.             <top>40</top>
  799.             <right>72</right>
  800.             <bottom>342</bottom>
  801.         </rect>
  802.         <style>transparent</style>
  803.         <showName> <false /> </showName>
  804.         <highlight> <false /> </highlight>
  805.         <autoHighlight> <false /> </autoHighlight>
  806.         <sharedHighlight> <true /> </sharedHighlight>
  807.         <family>0</family>
  808.         <titleWidth>0</titleWidth>
  809.         <icon>0</icon>
  810.         <textAlign>center</textAlign>
  811.         <font>Chicago</font>
  812.         <textSize>12</textSize>
  813.         <textStyle>plain</textStyle>
  814.         <name></name>
  815.         <script></script>
  816.     </part>
  817.     <part>
  818.         <id>30</id>
  819.         <type>button</type>
  820.         <visible> <true /> </visible>
  821.         <reserved5> 0 </reserved5>
  822.         <reserved4> 0 </reserved4>
  823.         <reserved3> 0 </reserved3>
  824.         <reserved2> 0 </reserved2>
  825.         <reserved1> 0 </reserved1>
  826.         <enabled> <true /> </enabled>
  827.         <rect>
  828.             <left>71</left>
  829.             <top>0</top>
  830.             <right>437</right>
  831.             <bottom>40</bottom>
  832.         </rect>
  833.         <style>transparent</style>
  834.         <showName> <false /> </showName>
  835.         <highlight> <false /> </highlight>
  836.         <autoHighlight> <false /> </autoHighlight>
  837.         <sharedHighlight> <true /> </sharedHighlight>
  838.         <family>0</family>
  839.         <titleWidth>0</titleWidth>
  840.         <icon>0</icon>
  841.         <textAlign>center</textAlign>
  842.         <font>Chicago</font>
  843.         <textSize>12</textSize>
  844.         <textStyle>plain</textStyle>
  845.         <name></name>
  846.         <script></script>
  847.     </part>
  848.     <part>
  849.         <id>31</id>
  850.         <type>button</type>
  851.         <visible> <false /> </visible>
  852.         <reserved5> 0 </reserved5>
  853.         <reserved4> 0 </reserved4>
  854.         <reserved3> 0 </reserved3>
  855.         <reserved2> 0 </reserved2>
  856.         <reserved1> 0 </reserved1>
  857.         <enabled> <true /> </enabled>
  858.         <rect>
  859.             <left>254</left>
  860.             <top>47</top>
  861.             <right>287</right>
  862.             <bottom>74</bottom>
  863.         </rect>
  864.         <style>transparent</style>
  865.         <showName> <false /> </showName>
  866.         <highlight> <false /> </highlight>
  867.         <autoHighlight> <false /> </autoHighlight>
  868.         <sharedHighlight> <false /> </sharedHighlight>
  869.         <family>0</family>
  870.         <titleWidth>0</titleWidth>
  871.         <icon>1018</icon>
  872.         <textAlign>center</textAlign>
  873.         <font>Chicago</font>
  874.         <textSize>12</textSize>
  875.         <textStyle>plain</textStyle>
  876.         <name>Course</name>
  877.         <script></script>
  878.     </part>
  879.     <part>
  880.         <id>32</id>
  881.         <type>field</type>
  882.         <visible> <false /> </visible>
  883.         <dontWrap> <true /> </dontWrap>
  884.         <dontSearch> <true /> </dontSearch>
  885.         <sharedText> <false /> </sharedText>
  886.         <fixedLineHeight> <false /> </fixedLineHeight>
  887.         <autoTab> <false /> </autoTab>
  888.         <lockText> <true /> </lockText>
  889.         <rect>
  890.             <left>2</left>
  891.             <top>70</top>
  892.             <right>54</right>
  893.             <bottom>188</bottom>
  894.         </rect>
  895.         <style>transparent</style>
  896.         <autoSelect> <false /> </autoSelect>
  897.         <showLines> <false /> </showLines>
  898.         <wideMargins> <false /> </wideMargins>
  899.         <multipleLines> <false /> </multipleLines>
  900.         <reservedFamily> 0 </reservedFamily>
  901.         <titleWidth>0</titleWidth>
  902.         <icon>0</icon>
  903.         <textAlign>left</textAlign>
  904.         <font>Geneva</font>
  905.         <textSize>12</textSize>
  906.         <textStyle>plain</textStyle>
  907.         <textHeight>16</textHeight>
  908.         <name>SavedGame</name>
  909.         <script></script>
  910.     </part>
  911.     <part>
  912.         <id>33</id>
  913.         <type>button</type>
  914.         <visible> <true /> </visible>
  915.         <reserved5> 0 </reserved5>
  916.         <reserved4> 0 </reserved4>
  917.         <reserved3> 0 </reserved3>
  918.         <reserved2> 0 </reserved2>
  919.         <reserved1> 0 </reserved1>
  920.         <enabled> <true /> </enabled>
  921.         <rect>
  922.             <left>7</left>
  923.             <top>316</top>
  924.             <right>64</right>
  925.             <bottom>333</bottom>
  926.         </rect>
  927.         <style>roundrect</style>
  928.         <showName> <true /> </showName>
  929.         <highlight> <false /> </highlight>
  930.         <autoHighlight> <false /> </autoHighlight>
  931.         <sharedHighlight> <false /> </sharedHighlight>
  932.         <family>0</family>
  933.         <titleWidth>0</titleWidth>
  934.         <icon>0</icon>
  935.         <textAlign>center</textAlign>
  936.         <font>Chicago</font>
  937.         <textSize>12</textSize>
  938.         <textStyle>plain</textStyle>
  939.         <name>Pause</name>
  940.         <script>on mouseUpanswer "The game is already Paused." & return & "Click the ‚ÄúGO‚Äù button to start the game." with "OK"end mouseUp</script>
  941.     </part>
  942.     <part>
  943.         <id>34</id>
  944.         <type>button</type>
  945.         <visible> <true /> </visible>
  946.         <reserved5> 0 </reserved5>
  947.         <reserved4> 0 </reserved4>
  948.         <reserved3> 0 </reserved3>
  949.         <reserved2> 0 </reserved2>
  950.         <reserved1> 0 </reserved1>
  951.         <enabled> <true /> </enabled>
  952.         <rect>
  953.             <left>467</left>
  954.             <top>316</top>
  955.             <right>496</right>
  956.             <bottom>333</bottom>
  957.         </rect>
  958.         <style>roundrect</style>
  959.         <showName> <true /> </showName>
  960.         <highlight> <false /> </highlight>
  961.         <autoHighlight> <true /> </autoHighlight>
  962.         <sharedHighlight> <false /> </sharedHighlight>
  963.         <family>0</family>
  964.         <titleWidth>0</titleWidth>
  965.         <icon>0</icon>
  966.         <textAlign>center</textAlign>
  967.         <font>Chicago</font>
  968.         <textSize>12</textSize>
  969.         <textStyle>plain</textStyle>
  970.         <name>GO</name>
  971.         <script>--Icon names are <direction> <num of masts> "Mast"--Icon id's are:--   N = 1000 + num of masts--   E = 2000    "      "--   S = 3000    "      "--   W = 4000    "      "--Both ships should fire if both are at the broadside.on mouseUpglobal theShip,theCourse,RedShips,BlueShips,MerchantShips,SoundOn,Turnglobal GameInProgress,PauseGame,Opponenthide menubarhide msgif SoundOn then play "flute" tempo 150 "c6s f6h c6q"put false into PauseGameput true into Redoif bg fld "SavedGame" ‚↠empty thenanswer "Start new game or finish current game?" with "New" or "Current"if it = "Current" then put false into Redoend ifif Redo thenput empty into bg fld "SavedGame"put "Red" into Turnput 10 into RedShipsput 10 into BlueShipsput 4 into MerchantShipsArrangeShipselseput line 1 of bg fld "SavedGame" into Turnput line 2 of bg fld "SavedGame" into RedShipsput line 3 of bg fld "SavedGame" into BlueShipsput line 4 of bg fld "SavedGame" into MerchantShipsend ifMainGameif PauseGame thenset the hilite of bg btn "Pause" to trueput Turn & return into bg fld "SavedGame"put RedShips & return after bg fld "SavedGame"put BlueShips & return after bg fld "SavedGame"put MerchantShips after bg fld "SavedGame"set the hilite of bg btn "Pause" to falseelseput empty into bg fld "SavedGame"end ifshow menubarend mouseUpon MainGameglobal theShip,theCourse,RedShips,BlueShips,MerchantShips,SoundOn,Turnglobal GameInProgress,PauseGame,BlueOpponent,RedOpponentrepeat until RedWon() or BlueWon() or PauseGameif Turn = "Red" then  --REDset cursor to "Red"if RedOpponent = "Human" thenput GetShip(11,20) into theShipif not PauseGame thenput PlotCourse() into theCourseMoveShipput Fire(1,10) into HitShipsExplode HitShips,Turnif the number of items of HitShips > 0 thenReturnFire HitShips,Turnend ifput "Blue" into Turnend ifelseComputerMove Turn,11,20put "Blue" into Turnend ifelse  --BLUEset cursor to "Blue"if BlueOpponent = "Human" thenput GetShip(1,10) into theShipif not PauseGame thenput PlotCourse() into theCourseMoveShipput Fire(11,20) into HitShipsExplode HitShips,Turnif the number of items of HitShips > 0 thenReturnFire HitShips,Turnend ifput "Red" into Turnend ifelseComputerMove Turn,1,10put "Red" into Turnend ifend ifend repeatend MainGameon ComputerMove color,lo,higlobal theShip,theCourse,Forfeitput GetRandomShip(color,lo,hi) into theShiprepeat 4Blink theShipend repeatset the hilite of bg btn theShip to trueput ComputerPlotCourse(color,Anti(lo),Anti(hi)) into theCourseset the hilite of bg btn theShip to falseset cursor to colorif Forfeit thenRemoveSail Anti(color)elseMoveShiphide bg btn "Course"put Fire(Anti(lo),Anti(hi)) into HitShipsExplode HitShips,colorif the number of items of HitShips > 0 thenReturnFire HitShips,colorend ifend ifend ComputerMovefunction GetRandomShip color,lo,hiput empty into VisShipsrepeat with i = lo to hiif the visible of bg btn i = true thenput i & "," after VisShipsend ifend repeatreturn item random(the number of items of VisShips) of VisShipsend GetRandomShipfunction ComputerPlotCourse color,lo,higlobal theShip,Forfeitset cursor to busyput false into Forfeitput item 1 of the loc of bg btn theShip into xput item 2 of the loc of bg btn theShip into y--\\\set the loc of bg btn "Course" to item 1 of the loc of bg btn theShip,60--Check to see if a Red ship can blow away a Merchant ship.if (theShip > 10) and (item 2 of the loc of bg btn theShip = 60) thenput "horizontal" into ShipIsMoving--Check to see if a Red ship has a clear path to the Merchant lane.else if (theShip > 10) and ClearPath("vertical") thenshow bg btn "course"return the loc of bg btn "course"elseif random(5) > 2 then --More vertical moves than horizontalput "vertical" into ShipIsMovingelseput "horizontal" into ShipIsMovingend ifend ifif ShipIsMoving = "vertical" thenput FindLeftRightTarget(lo,hi) into yyyyyset the loc of bg btn "Course" to x,yyyyyput 0 into Repsrepeat until ClearPath(ShipIsMoving)set cursor to busyadd 1 to Repsif Reps > 10 thenanswer "Computer forfeits move because it's too stupid. One mast will be lost as a result." with "Gee whiz"put true into Forfeitexit repeatelse if Reps > 5 thenput "horizontal" into ShipIsMovingset the loc of bg btn "course" to ((random(330)+90)div 30)*30,yelseset the loc of bg btn "course" to x,((random(271)+59)div 30)*30end ifend repeatshow bg btn "course"elseput FindUpDownTarget(lo,hi) into xxxxxset the loc of bg btn "Course" to xxxxx,yput 0 into Repsrepeat until ClearPath(ShipIsMoving)set cursor to busyadd 1 to Repsif Reps > 10 thenanswer "Computer forfeits move because it's too stupid. One mast will be lost as a result." with "Gee whiz"put true into Forfeitexit repeatelse if Reps > 5 thenput "vertical" into ShipIsMovingset the loc of bg btn "course" to x,((random(271)+59)div 30)*30elseset the loc of bg btn "course" to ((random(330)+90)div 30)*30,yend ifend repeatshow bg btn "course"end ifreturn the loc of bg btn "Course"end ComputerPlotCoursefunction FindLeftRightTarget lo,higlobal theShiprepeat with i = lo to hiif ((item 1 of the loc of bg btn i = (item 1 of the loc of bg btn theShip) + 30) and the visible of bg btn i) ¬¨OR ((item 1 of the loc of bg btn i = (item 1 of the loc of bg btn theShip) - 30) and the visible of bg btn i) then--If a ship would be to the left or right and it's visible.return item 2 of the loc of bg btn iexit repeatend ifend repeatreturn 0end FindLeftRightTargetfunction FindUpDownTarget lo,higlobal theShipput false into FoundMerchantif theShip > 10 thenrepeat with i = 1 to 4if (item 2 of the loc of bg btn ("Merchant" & i) = (item 2 of the loc of bg btn theShip) - 30) then--If a merchant ship would be directly above theShip.put true into FoundMerchantreturn item 1 of the loc of bg btn ("Merchant"& i)exit repeatend ifend repeatend ifif FoundMerchant then exit FindUpDownTargetrepeat with i = lo to hiif (item 2 of the loc of bg btn i = (item 2 of the loc of bg btn theShip) + 30) ¬¨OR (item 2 of the loc of bg btn i = (item 2 of the loc of bg btn theShip) - 30) then--If a ship would be directly above or below theShip.return item 1 of the loc of bg btn iexit repeatend ifend repeatreturn 0end FindUpDownTargetfunction Anti xif x = 1 thenreturn 11else if x = 10 thenreturn 20else if x = 11 thenreturn 1else if x = 20 thenreturn 10else if x = "Red" thenreturn "Blue"else if x = "Blue" thenreturn "Redend ifend Antion RemoveSail colorglobal theShipput theShip into HitShipsExplode HitShips,colorend RemoveSail</script>
  972.     </part>
  973.     <part>
  974.         <id>35</id>
  975.         <type>field</type>
  976.         <visible> <false /> </visible>
  977.         <dontWrap> <false /> </dontWrap>
  978.         <dontSearch> <true /> </dontSearch>
  979.         <sharedText> <false /> </sharedText>
  980.         <fixedLineHeight> <false /> </fixedLineHeight>
  981.         <autoTab> <false /> </autoTab>
  982.         <lockText> <true /> </lockText>
  983.         <rect>
  984.             <left>52</left>
  985.             <top>50</top>
  986.             <right>461</right>
  987.             <bottom>315</bottom>
  988.         </rect>
  989.         <style>shadow</style>
  990.         <autoSelect> <false /> </autoSelect>
  991.         <showLines> <false /> </showLines>
  992.         <wideMargins> <true /> </wideMargins>
  993.         <multipleLines> <false /> </multipleLines>
  994.         <reservedFamily> 0 </reservedFamily>
  995.         <titleWidth>0</titleWidth>
  996.         <icon>0</icon>
  997.         <textAlign>left</textAlign>
  998.         <font>New York</font>
  999.         <textSize>12</textSize>
  1000.         <textStyle>plain</textStyle>
  1001.         <textHeight>16</textHeight>
  1002.         <name>About</name>
  1003.         <script>on mousedownhide meend mousedown</script>
  1004.     </part>
  1005.     <name></name>
  1006.     <script>on ArrangeShipshide bg btn "Course"repeat with i = 1 to 4set the loc of bg btn ("Merchant" & i) to (30 * i * 2) + 90,30set the icon of bg btn ("Merchant" & i) to "Merchant"show bg btn ("Merchant" & i)end repeatset the icon of bg btn 1 to "S 3 Mast"set the icon of bg btn 2 to "S 3 Mast"set the icon of bg btn 3 to "S 1 Mast"set the icon of bg btn 4 to "S 1 Mast"set the icon of bg btn 5 to "S 2 Mast"set the icon of bg btn 6 to "S 2 Mast"set the icon of bg btn 7 to "S 1 Mast"set the icon of bg btn 8 to "S 1 Mast"set the icon of bg btn 9 to "S 3 Mast"set the icon of bg btn 10 to "S 3 Mast"repeat with i = 1 to 10set the loc of bg btn i to (i*15*2)+90,(2*15*2)set the hilite of bg btn i to falseshow bg btn iend repeatset the icon of bg btn 11 to "N 3 Mast"set the icon of bg btn 12 to "N 2 Mast"set the icon of bg btn 13 to "N 3 Mast"set the icon of bg btn 14 to "N 4 Mast"set the icon of bg btn 15 to "N 1 Mast"set the icon of bg btn 16 to "N 3 Mast"set the icon of bg btn 17 to "N 1 Mast"set the icon of bg btn 18 to "N 2 Mast"set the icon of bg btn 19 to "N 4 Mast"set the icon of bg btn 20 to "N 2 Mast"repeat with i = 1 to 10set the loc of bg btn (i + 10) to (i*15*2)+90,(10*15*2)set the hilite of bg btn (i + 10) to falseshow bg btn (i + 10)end repeatend ArrangeShipson Blink shipset the hilite of bg btn ship to trueset the hilite of bg btn ship to falseend Blinkfunction BlueWonglobal RedShips,SoundOnif RedShips = 0 thenif SoundOn then play "Flute" tempo 290 "c4 d g g ge g fq e cq. ce dq ge g gq g fh. gq d g g g f c5 ch f4q f e c dh"answer "The Blue Navy has won!!" with "Yippeee!"return trueelsereturn falseend ifend BlueWonfunction ClearPath dir  --dir = ShipIsMoving ≈∏ "vertical" or "horizontal"global theShipput the loc of bg btn theShip into shpput the loc of bg btn "course" into crsif (shp = crs) or (item 1 of crs = 0) or (item 2 of crs = 0) thenreturn falseexit ClearPathend ifif dir = "vertical" thenif item 2 of shp < item 2 of crs then  --moving DOWNrepeat with i = 1 to 20put the loc of bg btn i into zif (item 2 of z > item 2 of shp) and (item 2 of z <= item 2 of crs) and (item 1 of z = item 1 of shp) thenreturn falseend ifend repeatelse                                   --moving UPrepeat with i = 1 to 20put the loc of bg btn i into zif (item 2 of z < item 2 of shp) and (item 2 of z >= item 2 of crs) and (item 1 of z = item 1 of shp) thenreturn falseend ifend repeatend ifelseif item 1 of shp < item 1 of crs then  --moving RIGHTrepeat with i = 1 to 20put the loc of bg btn i into zif (item 1 of z > item 1 of shp) and (item 1 of z <= item 1 of crs) and (item 2 of z = item 2 of shp) thenreturn falseend ifend repeatelse                                   --moving LEFTrepeat with i = 1 to 20put the loc of bg btn i into zif (item 1 of z < item 1 of shp) and (item 1 of z >= item 1 of crs) and (item 2 of z = item 2 of shp) thenreturn falseend ifend repeatend ifend ifreturn trueend ClearPathon Explode hitShips,Colourglobal RedShips,BlueShips,MerchantShips,SoundOnif the number of items of hitShips > 0 thenset cursor to nonerepeat with i = 1 to the number of items of hitShipsif SoundOn then play "Fire"put the icon of bg btn (item i of hitShips) into savedIconwait until the sound is doneif SoundOn then play "Hit"set the icon of bg btn (item i of hitShips) to "Explode"set the icon of bg btn (item i of hitShips) to savedIconset the icon of bg btn (item i of hitShips) to "Explode"if (char 4 of savedIcon = 1) or (item i of hitShips contains "Merchant") thenhide bg btn (item i of hitShips)set the loc of bg btn (item i of hitShips) to 0,0if item i of hitShips contains "Merchant" thensubtract 1 from MerchantShipselse if Colour = "Red" thensubtract 1 from BlueShipselsesubtract 1 from RedShipsend ifelseset the icon of bg btn (item i of hitShips) to savedIcon - 1end ifend repeatend ifend Explodefunction Fire lo,higlobal theShipput empty into HitShipsput item 1 of the loc of bg btn theShip into xput item 2 of the loc of bg btn theShip into yput char 1 of the icon of bg btn theShip into Facingif (Facing = 1) or (Facing = 3) thenput "NS" into Facingelseput "EW" into Facingend ifset cursor to watch--‚Ä¢‚Ä¢‚Ä¢‚Ä¢‚Ä¢‚Ä¢ Check for merchant ships ‚Ä¢‚Ä¢‚Ä¢‚Ä¢‚Ä¢‚Ä¢if theShip > 10 thenput x & "," & (y - 30) into xyrepeat with i = 1 to 4if (Facing = "EW") and ¬¨(xy is within the rect of bg btn ("Merchant" & i)) thenput "Merchant" & i & "," after HitShipsend ifend repeatend if--‚Ä¢‚Ä¢‚Ä¢‚Ä¢‚Ä¢‚Ä¢ Check for enemy ships ‚Ä¢‚Ä¢‚Ä¢‚Ä¢‚Ä¢‚Ä¢‚Ä¢repeat with i = lo to hiif (abs((item 1 of the loc of bg btn i) - x) = 30) and ¬¨ --beside horizontal(abs((item 2 of the loc of bg btn i) - y) = 0) and ¬¨ --same vertical(Facing = "NS") OR ¬¨(abs((item 2 of the loc of bg btn i) - y) = 30) and ¬¨ --beside vertical(abs((item 1 of the loc of bg btn i) - x) = 0) and ¬¨ --same horizontal(Facing = "EW") thenput i & "," after HitShipsend ifend repeatdelete last char of HitShipsreturn HitShipsend Firefunction GetShip lo,higlobal PauseGameput false into okrepeat until okwait until the mouse is downput the mouseloc into SavedLocrepeat with i = 1 to 20if (SavedLoc is within the rect of bg btn i) and ¬¨(i >= lo) and (i <= hi) thenput true into okput i into xend ifend repeatif not ok thenif SavedLoc is within rect of bg btn "Pause" thenput true into PauseGameput true into okend ifend ifend repeatif the mouse is down then wait until the mouse is upreturn xend GetShipon MoveShipglobal theShip,theCourseput item 1 of the loc of bg btn theShip into xput item 2 of the loc of bg btn theShip into yput the icon of bg btn theShip into Mastsdelete char 1 to 3 of Mastsif item 1 of theCourse > x then--eastset the icon of bg btn theShip to Masts + 2000put 30 into direlse if item 1 of theCourse < x then--westset the icon of bg btn theShip to Masts + 4000put -30 into direlse if item 2 of theCourse > y then--southset the icon of bg btn theShip to Masts + 3000put 30 into direlse if item 2 of theCourse < y then--northset the icon of bg btn theShip to Masts + 1000put -30 into dirend ifif (char 1 of the icon of bg btn theShip = 1) or (char 1 of the icon of bg btn theShip = 3) then--north/southrepeat until the loc of bg btn theShip = theCourseput item 1 of the loc of bg btn theShip into xput (item 2 of the loc of bg btn theShip) + dir into yif not OnLand(x,y) thenset the loc of bg btn theShip to x,yelsebeepexit repeatend ifend repeatelse--east/westrepeat until the loc of bg btn theShip = theCourseput (item 1 of the loc of bg btn theShip) + dir into xput item 2 of the loc of bg btn theShip into yif not OnLand(x,y) thenset the loc of bg btn theShip to x,yelsebeepexit repeatend ifend repeatend ifhide bg btn "Course"end MoveShipfunction OnLand x,yglobal theShipput false into Bangorepeat with i = 25 to 27if ((x & "," & y) is within the rect of bg btn i ) thenput true into Bangoexit repeatend ifend repeatreturn Bangoend OnLandfunction PlotCourseglobal theShip--set cursor to noneput false into okyDokyset the loc of bg btn "Course" to ((item 1 of the mouseloc + 10) div 30)*30,((item 2 of the mouseloc - 20) div 30)*30+30show bg btn "course"put item 1 of the loc of bg btn theShip into xput item 2 of the loc of bg btn theShip into yrepeatrepeat until the mouse is downBlink theShipif abs(item 1 of the mouseloc - x) < abs(item 2 of the mouseloc - y) thenset the loc of bg btn "Course" to x,((item 2 of the mouseloc - 20) div 30)*30+30put "vertical" into ShipIsMovingelseset the loc of bg btn "Course" to ((item 1 of the mouseloc + 10) div 30)*30,yput "horizontal" into ShipIsMovingend ifend repeatif the loc of bg btn "Course" ‚↠the loc of bg btn theShip thenput true into okyDokyend ifif ClearPath(ShipIsMoving)  and not(OnLand(item 1 of the loc of bg btn "course",item 2 of the loc of bg btn "course")) then exit repeatend repeatif the mouse is down then wait until the mouse is upreturn the loc of bg btn "Course"end PlotCoursefunction RedWonglobal MerchantShips,BlueShips,SoundOnif BlueShips = 0 thenif SoundOn then play "Flute" tempo 290 "c4 d g g ge g fq e cq. ce dq ge g gq g fh. gq d g g g f c5 ch f4q f e c dh"answer "The Blue Navy is out of warships, so the Red Navy wins by default." with "Yeah!"return trueelse if MerchantShips = 0 thenif SoundOn then play "Flute" tempo 290 "c4 d g g ge g fq e cq. ce dq ge g gq g fh. gq d g g g f c5 ch f4q f e c dh"answer "The Red Navy has won!!" with "Yeehaa!"return trueelsereturn falseend ifend RedWonon ReturnFire ships,colourglobal theShipif the number of items of ships > 0 thenif colour = "Red" thenput "Blue" into colourelseput "Red" into colourend ifrepeat with i = 1 to the number of items of shipsif (the visible of bg btn (item i of ships)) and ¬¨((char 1 of the icon of bg btn (item i of ships)) mod 2 = (char 1 of the icon of bg btn theShip) mod 2) thenExplode theShip,colourend ifend repeatend ifend ReturnFire</script>
  1007. </background>
  1008.